Learning Objectives

After completing this lesson, you’ll be able to:

Instructions

In this lesson, you will:

Resources

Scenario

Fatima

The Parks & Recreation department has asked Fatima to build a workspace to combine two park datasets into a single dataset. Currently, she has two datasets: one with park information and another with park addresses. These datasets share a common ParkName attribute. She wants to join them so all the park information is in one table.

She will use the FeatureJoiner to join two feature streams. 

FeatureJoiner

This example uses spatial data, but the procedure is the same regardless of whether the data is spatial. Remember, if you have the data to be joined in a database, consider using the DatabaseJoiner or DatabaseQuerier instead.

1) Open Starting Workspace

Starting workspace

Initial workspace reading in Parks.tab and the Parks table from CommunityMapping.gdb

This workspace joins a parks MapInfo TAB dataset with a Parks table from a community mapping geodatabase.

Starting Parks MapInfo TAB table

Parks MapInfo Tab table [MITAB]

Parks table from CommunityMapping Geodatabase

Parks table from CommunityMapping File Geodatabase [OpenFileGDB]

2) Connect the FeatureJoiner

Connecting feature types to FeatureJoiner

Both Park datasets connected to the FeatureJoiner transformer

3) Configure the FeatureJoiner

FeatureJoiner Join Mode Parameter, all set to Left

FeatureJoiner Join Mode Parameter, all set to Left

Join On parameter set to ParkName for both Left and Right and the Comparison Mode set to String

Join On parameter set to ParkName for both Left and Right and the Comparison Mode set to String

4) Run Workspace and Inspect

Workspace after running and joining the data

65 Joined records, 15 UnjoinedRight records, and 15 <Rejected> records

5) Append Records

AttributeManager connected to the Joined and <Rejected> output ports on the FeatureJoiner

AttributeManager connected to the Joined and <Rejected> output ports on the FeatureJoiner

Results with joined data

The Joined and <Rejected> features shown in the Data Preview.

Leave Us Feedback on This Lesson